#ifndef     __STATUS_TASK_H
#define     __STATUS_TASK_H

#include "../rtos/thread.h"
#include "../utils/object.h"

namespace task {

class StatusTask_t : public rtos::Thread_t<StatusTask_t, 1024, osPriorityHigh1> {

public:
    void run();

private:
    void update();
    void send_status();
};

extern utils::Object<StatusTask_t> statusTask;

}


#endif
